import { axios } from '@/utils/request'
import globalReq from "@/api/globalReq";
const customerIntegral_url = "/api/v1/customer/customerIntegral/";
const customer_customerIntegral = {
    // 添加
    saveOrUpdate(parameter,flag) {
		return globalReq.saveOrUpdate(parameter,flag,customerIntegral_url);
    },
    // 获取列表
    list(parameter) {
		return globalReq.list(parameter,customerIntegral_url+'list');
    },
    // 获取信息
    getById(id) {
		return globalReq.getById(id,customerIntegral_url+'getById/'+id);
    },
    // 删除
    remove(id) {
		return globalReq.remove(id,customerIntegral_url+'delete/'+id);
    }
}
export default customer_customerIntegral;